package com.ruoyi.common.group.service.impl;

import com.ruoyi.common.group.entity.YytGroupActivity;
import com.ruoyi.common.group.dao.YytGroupActivityMapper;
import com.ruoyi.common.group.service.YytGroupActivityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* <p>
    *  服务实现类
    * </p>
*
* @author MrPing
* @since 2022-07-19
*/
@Service
public class YytGroupActivityServiceImpl extends ServiceImpl<YytGroupActivityMapper, YytGroupActivity> implements YytGroupActivityService {

    @Autowired
    private YytGroupActivityMapper yytGroupActivityMapper;

    @Override
    public YytGroupActivity getActivityBySkuId(String skuId) {
        return yytGroupActivityMapper.getActBySkuId(skuId);
    }
}
